import Vue from 'vue'
import App from './App.vue'
import './reset.css'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router/index'
import request from './utils/request';
import store from './store/index'

Vue.config.productionTip = false

Vue.use(ElementUI);
Vue.prototype.request = request
new Vue({
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this //安装全局事件总线 兄弟组件通信
  },
  router,
  store

}).$mount('#app')
